// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import iView from 'iview';
import './my_theme/index.less';
import Qs from 'qs'
import mavonEditor from 'mavon-editor'
// markdown-it对象：md.s_markdown, md => mavonEditor实例
import 'mavon-editor/dist/css/index.css'
// use
Vue.use(mavonEditor)
Vue.use(iView);
import VueCookie from 'vue-cookie';
Vue.use(VueCookie);
Vue.prototype.$http = axios
Vue.prototype.surl = 'http://139.199.194.142:80/admin/'  //后端接口，在后面的get/post用到的url都基于这个

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
